<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title> 
<link   href="/resource/plugs/bootstrap/dist/css/bootstrap.css" rel="stylesheet" type="text/css"  />
<link   href="/resource/plugs/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" type="text/css"  /> 
<link   href="/resource/plugs/validate/easy-validate.css" rel="stylesheet" type="text/css"/>
<link   href="/resource/plugs/bootstrap-select/bootstrap-select.min.css" rel="stylesheet" type="text/css"/>  
<link   href="/resource/plugs/bootstrap-form/bootstrap-form.css" rel="stylesheet" type="text/css"/>  
<link   href="/resource/css/business/auto-grid.css" rel="stylesheet" type="text/css"/>  
</head> 
<script type="text/javascript" src="/resource/js/common/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="/resource/js/common/url.js"></script>
<script type="text/javascript" src="/resource/js/common/framework-ajax.js"></script>  
<script type="text/javascript" src="/resource/plugs/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/resource/plugs/date/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/resource/js/common/dictionary-util.js"></script>
<script type="text/javascript" src="/resource/plugs/date/dateformat.js"></script> 
<script type="text/javascript" src="/resource/plugs/validate/easy-validate.js"></script> 
<script type="text/javascript" src="/resource/plugs/bootstrap-table/bootstrap-table.min.js"></script> 
<script type="text/javascript" src="/resource/plugs/bootstrap-table/bootstrap-table-zh-CN.js"></script>  
<script type="text/javascript" src="/resource/plugs/bootstrap-form/bootstrap-form.js"></script> 
<script type="text/javascript" src="/resource/js/business/autogrid/autoBootstrapGrid.js"></script>  
<script type="text/javascript" src="/resource/plugs/bootstrap-select/bootstrap-select.min.js"></script>  
<script type="text/javascript" src="/resource/plugs/bootstrap-select/defaults-zh_CN.min.js"></script> 
<script type="text/javascript">
$(function(){
	$('#depth_search_tabs').on("click","a",function (e) {
		  e.preventDefault()
		  $(this).tab('show')
	})  
})

</script> 
 
<body>
    <!-- 深度查询弹出框 -->
	<div  id="auto_depth_search"  class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
	  <div class="modal-dialog modal-lg" role="document">
	    <div class="modal-content">
	      <div class="modal-header depth_search_modal_header">
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	        
	          <ul id="depth_search_tabs" class="nav nav-tabs">
				  <li role="presentation" class="active"><a href="#ordinary_search">普通查询</a></li>
				  <li role="presentation"><a href="#senior_search">高级查询</a></li> 
		      </ul> 
	      </div>
	      <div class="modal-body depth_search_modal_body">
		       <div class="tab-content">
		           <div  id="ordinary_search"  role="tabpanel" class="tab-pane active">
			         <form id="auto_depth_ordinary_search_form" class='ordinary_search_form search_form'></form> 
			         <div id="ordinary_sql" class="sql"></div> 
			       </div>   
			       
			       <div  id="senior_search" role="tabpanel" class="tab-pane" >
			         <form  id="auto_depth_senior_search_form" class='senior_search_form search_form'></form>   
			         <div   id="senior_sql" class="sql"></div> 
			       </div> 
		       </div>  
	      </div>
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
	        <button type="button" class="btn btn-info" onclick="analysis()">解析</button>
	        <button type="button" class="btn btn-primary" onclick="depthSearch()">查询</button>
	      </div>
	    </div>
	  </div>
	</div> 
 
	<div class="main">
		<form  id="auto_search_form"></form>
        <div   id="auto_operation" ></div>  
		<table id="auto_grid"></table> 
 	</div>  
 	
</body>
</html>